package com.zlp.spring.init.strategy;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MciReportStrategy implements ReportStrategy {

    @Autowired
    private ReportService reportService;


    @Override
    public String buildJson() {
        System.out.println("MciReportStrategy");
        return null;
    }

    @Override
    public Report genericReport() {

        System.out.println("MCI生成报告");
        return reportService.getReport(1000L,"MCI报告");
    }
}
